package com.ruoyi.teaching.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 教学跟踪对象 teaching_tracking
 * 
 * @author thl
 * @date 2024-01-06
 */
public class TeachingTracking extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 班级 */
    @Excel(name = "班级")
    private String className;

    /** 问题类型0：违纪-看视频 1：违纪-打游戏
2：违纪-看小说 3：跟踪-日常谈话 */
    @Excel(name = "问题类型0：违纪-看视频 1：违纪-打游戏 2：违纪-看小说 3：跟踪-日常谈话")
    private String questionType;

    /** 学生 */
    @Excel(name = "学生")
    private String student;

    /** 扣分 */
    @Excel(name = "扣分")
    private Integer deductPoints;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date data;

    /** 跟踪次数 */
    @Excel(name = "跟踪次数")
    private Integer trackingTime;

    /** 跟踪老师 */
    @Excel(name = "跟踪老师")
    private String trackingTeacher;

    /** 发生时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发生时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date occurData;

    /** 问题描述 */
    @Excel(name = "问题描述")
    private String problemDescription;

    /** 备注 */
    @Excel(name = "备注")
    private String notes;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setClassName(String className) 
    {
        this.className = className;
    }

    public String getClassName() 
    {
        return className;
    }
    public void setQuestionType(String questionType) 
    {
        this.questionType = questionType;
    }

    public String getQuestionType() 
    {
        return questionType;
    }
    public void setStudent(String student) 
    {
        this.student = student;
    }

    public String getStudent() 
    {
        return student;
    }
    public void setDeductPoints(Integer deductPoints) 
    {
        this.deductPoints = deductPoints;
    }

    public Integer getDeductPoints() 
    {
        return deductPoints;
    }
    public void setData(Date data) 
    {
        this.data = data;
    }

    public Date getData() 
    {
        return data;
    }
    public void setTrackingTime(Integer trackingTime) 
    {
        this.trackingTime = trackingTime;
    }

    public Integer getTrackingTime() 
    {
        return trackingTime;
    }
    public void setTrackingTeacher(String trackingTeacher) 
    {
        this.trackingTeacher = trackingTeacher;
    }

    public String getTrackingTeacher() 
    {
        return trackingTeacher;
    }
    public void setOccurData(Date occurData) 
    {
        this.occurData = occurData;
    }

    public Date getOccurData() 
    {
        return occurData;
    }
    public void setProblemDescription(String problemDescription) 
    {
        this.problemDescription = problemDescription;
    }

    public String getProblemDescription() 
    {
        return problemDescription;
    }
    public void setNotes(String notes) 
    {
        this.notes = notes;
    }

    public String getNotes() 
    {
        return notes;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("className", getClassName())
            .append("questionType", getQuestionType())
            .append("student", getStudent())
            .append("deductPoints", getDeductPoints())
            .append("data", getData())
            .append("trackingTime", getTrackingTime())
            .append("trackingTeacher", getTrackingTeacher())
            .append("occurData", getOccurData())
            .append("problemDescription", getProblemDescription())
            .append("notes", getNotes())
            .toString();
    }
}
